package org.jeecg.modules.business.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: bus_agreement_unit
 * @Author: jeecg-boot
 * @Date:   2023-04-07
 * @Version: V1.0
 */
@Data
@TableName("bus_agreement_unit")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bus_agreement_unit对象", description="bus_agreement_unit")
public class BusAgreementUnit implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**关联租户*/
	@Excel(name = "关联租户", width = 15)
    @ApiModelProperty(value = "关联租户")
    private String tenantId;
	/**关联酒店*/
	@Excel(name = "关联酒店", width = 15)
    @ApiModelProperty(value = "关联酒店")
    private String hotelId;
	/**客户全称*/
	@Excel(name = "客户全称", width = 15)
    @ApiModelProperty(value = "客户全称")
    private String name;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String mobile;
	/**系统类型字典id*/
	@Excel(name = "系统类型字典id", width = 15)
    @ApiModelProperty(value = "系统类型字典id")
    private String systemType;
	/**主联系人*/
	@Excel(name = "主联系人", width = 15)
    @ApiModelProperty(value = "主联系人")
    private String contactName;
	/**客户类型*/
	@Excel(name = "客户类型", width = 15)
    @ApiModelProperty(value = "客户类型")
    private String customerType;
	/**销售员*/
	@Excel(name = "销售员", width = 15)
    @ApiModelProperty(value = "销售员")
    private String staffId;
	/**地址*/
	@Excel(name = "地址", width = 15)
    @ApiModelProperty(value = "地址")
    private String address;
	/**客户来源*/
	@Excel(name = "客户来源", width = 15)
    @ApiModelProperty(value = "客户来源")
    private String customerSource;
	/**客户行业*/
	@Excel(name = "客户行业", width = 15)
    @ApiModelProperty(value = "客户行业")
    private String customerTrade;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private Integer status;

    @TableField(exist = false)
    private String hotelName;
}
